@import 'antd/es/style/themes/default.less';
.container {
  height: 54px;
  padding: 0 64px;
}
.line {
  position: relative;
}
.line-bg {
  position: absolute;

  width: 100%;
  height: 6px;

  border-radius: 3px;
  background-color: @grey-3;
}
.line-active-bg {
  height: 6px;

  transition: all 1s;

  border-radius: 3px;
  background-color: rgb(184, 195, 228);
}
.line-split-list {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: space-between;
}
.line-split {
  font-size: 0;
  line-height: 0;

  position: relative;

  display: inline-block;

  text-align: center;
  &.active {
    .line-split-icon {
      background-color: @primary-color;
    }
    .line-split-text {
      color: @primary-color;
      &.warning {
        color: @warning-color;
      }
    }
  }
  &:first-child {
    &::before {
      position: absolute;
      top: 0;
      left: 0;

      width: 50%;
      height: 6px;

      content: '';

      border-top-left-radius: 3px;
      border-bottom-left-radius: 3px;
      background-color: @grey-3;
    }
  }
  &:last-child {
    &::after {
      position: absolute;
      top: 0;
      right: 0;

      width: 50%;
      height: 6px;

      content: '';

      border-top-right-radius: 3px;
      border-bottom-right-radius: 3px;
      background-color: @grey-3;
    }
    .line-split-time {
      right: 0;
      left: auto;

      text-align: right;
    }
  }
}
.line-split-icon {
  position: relative;
  z-index: 1;

  display: inline-block;

  width: 10px;
  height: 6px;

  border-radius: 3px;
}
.line-split-title {
  font-size: 14px;
  line-height: 32px;

  position: relative;

  color: @text-color-secondary;
}
.line-split-time {
  font-size: 12px;
  line-height: 20px;

  position: absolute;
  bottom: -20px;
  left: 0;

  width: 80px;

  text-align: left;
}
